import yaml

#yaml文件读取
file =open("testt.yaml",encoding="utf8")
res = yaml.load(file,Loader=yaml.FullLoader)
print(type(res))
for l in res:
    print(l)
